class A
{
	int x;
	A(int xx)
	{
	this.x=xx;
	}
	void display()
	{
	System.out.println("X is:"+x);
	}
}


class B extends A 	// sub class declaration
{
float y;
B (int xx,float yy)	// sub class constructor method
	{
	super(xx); // calling tha base class coustructor method
	this.y=yy;
	}
	void display()
	{
	super.display();	//calling tha base class coustructor "Display" method
	System.out.println("Y is:"+y);
	}
}
	
class Test
{
public static void main(String args[])
	{
	B	b1;
		b1=new B(100,200.5f);
		b1.display();
		}
	}